import { request } from '@/utils/request';

/**
 * @description 字典工具类  获取字典数据
 */
export function getDictListApi(dicType?: string) {
  // 设置工单系统的系统编号 WORKORDER
  return request(
    {
      url: '/sys/sysDicType/selectDicInfoByType',
      method: 'get',
      params: { sysDicType: dicType },
    },
    {
      isGetDataDirectly: true,
    },
  );
}
